home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
4th86_v4.zip
/
MASMTST
< prev
next >
Wrap
Text File
|
1993-11-18
|
5KB
|
350 lines
off printload
code fred3
mov al,[1234h] ( 1)
mov ax,[1234h] ( 2)
mov al,[bx] ( 3)
mov bl,[bx] ( 3)
mov bh,[1234h] ( 5)
mov al,23h ( 7)
mov bl,23h ( 7)
mov ax,[bx] ( 8)
mov bx,[bx] ( 8)
mov bx,[1234h] ( 10)
mov bx,1234h ( 12)
mov al,bl ( 13)
( 14 )
( )
mov ax,cs ( 15 16 )
( )
mov ax,bx ( 16)
mov [1234h],ax ( 18)
mov [1234h],bx ( 18)
mov bl,al ( 21)
mov bl,cl ( 21)
mov [bx],cx ( 23)
mov [bx],al ( 24)
( )
mov bx,cs ( 26 )
( )
mov bx,ax ( 27)
mov bx,cx ( 27)
mov [byte_si],23h
mov 2[byte_di],23h
mov 3[byte_bp],23h
mov [byte_bx],23h
mov [word_si],1234h
mov 2[word_di],1234h
mov 3[word_bp],1234h
mov [word_bx],1234h
mov [bx],ax
mov 4[bx],cl
1111h mov [tos],bx
2222h mov [tos],cx
4567h mov cx,tos
5678h mov ax,[tos]
( mov [1234h],al omitted -- use mov [TOS],AL
mov [1234h],bl
)
;
code frd1 mov 2[byte_si],23h mov 3[word_si],1234h ;
data[ nolength " this is a test $" ] msg
code frd2 msg
mov dx,tos
mov ax,0900h
int 21h
;
code fred4
MOV AX,0FAAAH
MOV BX,0FAAAH
MOV CX,0FAAAH
MOV DX,0FAAAH
MOV AL,2h
MOV AH,23h
MOV BL,23h
MOV BH,23h
MOV CL,23h
MOV CH,23h
MOV DL,23h
MOV DH,23h
movsb
movsw
repz movsb
repz movsw
MOV AX,BX
MOV AX,SS
MOV SS,AX
MOV AL,BL
AAA
AAD
AAM
AAS
ADC BX,AX
ADC AX,0FAAAH
ADC BX,0FAAAH
ADC AL,AH
ADC AL,88H
ADC BL,88H
ADD BX,AX
ADD AX,0FAAAH
ADD BX,0FAAAH
ADD AL,AH
ADD AL,88H
ADD BL,88H
AND BX,AX
AND AX,0FAAAH
AND BX,0FAAAH
AND AL,AH
AND AL,88H
AND BL,88H
' dup
CALL TOS
CALL BX
CBW
CLC
CLD
( CLI )
CMC
CMPSb
CMPSw
CMP BX,AX
CMP AX,0FAAAH
CMP BX,0FAAAH
CMP AL,AH
CMP AL,88H
CMP BL,88H
CWD
DAA
DAS
DEC AX
DEC AL
DIV BX
DIV BL
HLT
HLT
IDIV BX
IDIV BL
IMUL BX
IMUL BL
( IN AX,'3' ;33H
IN AX,DX
IN AL,'3' ;33H
IN AL,DX
IN AL,DX )
INC AX
INC AL
INT 7
INT 7
INT 3
INT 3
INTO
IRET
( JA ROUTINE1 ;0120H
JNB ROUTINE1 ;0120H
JB ROUTINE1 ;0120H
JB ROUTINE1 ;0120H
JNA ROUTINE1 ;0120H
JCXZ ROUTINE1 ;0120H
JZ ROUTINE1 ;0120H
JG ROUTINE1 ;0120H
JGE ROUTINE1 ;0120H
JNGE ROUTINE1 ;0120H
JNG ROUTINE1 ;0120H
JMP short ROUTINE1 ;0120H
JMP short ROUTINE1 ;0120H
JMP ROUTINE ;042CH
JMP BX
ROUTINE1: mov ax,23h
;
;
JMP fCONOUT
JNA ROUTINE1 ;0120H
JB ROUTINE1 ;0120H
JNB ROUTINE1 ;0120H
JNB ROUTINE1 ;0120H
JA ROUTINE1 ;0120H
JNZ ROUTINE1 ;0120H
JNG ROUTINE1 ;0120H
JNGE ROUTINE1 ;0120H
JGE ROUTINE1 ;0120H
JG ROUTINE1 ;0120H
JNO ROUTINE1 ;0120H
JPO ROUTINE1 ;0120H
JNS ROUTINE1 ;0120H
JNZ ROUTINE1 ;0120H
JO ROUTINE1 ;0120H
JPE ROUTINE1 ;0120H
JPE ROUTINE1 ;0120H
JPO ROUTINE1 ;0120H
JS ROUTINE1 ;0120H
JZ ROUTINE1 ;0120H
LAHF
LOCK LODSb
ROUTINELOOP: ;0199
LOOP ROUTINELOOP ;0199H
LOOPE ROUTINELOOP ;0199H
LOOPNE ROUTINELOOP ;0199H
LOOPNE ROUTINELOOP ;0199H
LOOPE ROUTINELOOP ;0199H )
MUL BX
MUL BL
NEG AX
NEG AL
NOP
NOT AX
NOT AL
OR BX,AX
OR AX,0FAAAH
OR BX,0FAAAH
OR AL,AH
OR AL,88H
OR BL,88H
( OUT 33H,AX
OUT DX,AX
OUT DX,AX
OUT 33H,AL
OUT DX,AL
OUT DX,AL )
POP CX
POP SS
POP ES
POPF
PUSH BX
PUSH CS
PUSHF
RCL AX,1
RCL AX,CL
RCL AL,1
RCL AL,CL
RCR AX,1
RCR AX,CL
RCR AL,1
RCR AL,CL
( REPNZ RET
RETF
RETF 0FAAAH )
ROL AX,1
ROL AX,CL
ROL AL,1
ROL AL,CL
ROR AX,1
ROR AX,CL
ROR AL,1
ROR AL,CL
SAHF
SHL AX,1
SHL AX,CL
SHL AL,1
SHL AL,CL
SAR AX,1
SAR AX,CL
SAR AL,1
SAR AL,CL
SBB BX,AX
SBB AX,0FAAAH
SBB BX,0FAAAH
SBB AL,AH
SBB AL,88H
SBB BL,88H
SCAsw
SCAsb
SHL AX,1
SHL AX,CL
SHL AL,1
SHL AL,CL
SHR AX,1
SHR AX,CL
SHR AL,1
SHR AL,CL
STC
STD
STI
STOSb
STOSw
SUB BX,AX
SUB AX,0FAAAH
SUB BX,0FAAAH
SUB AL,AH
SUB AL,88H
SUB BL,88H
TEST AX,BX
TEST AX,0FAAAH
TEST BX,0FAAAH
TEST AH,AL
TEST AL,88H
TEST BL,88H
XCHG AX,BX
XCHG BX,CX
XCHG AL,BL
XLAT
XOR BX,AX
XOR AX,0FAAAH
XOR BX,0FAAAH
XOR AL,AH
XOR AL,88H
XOR BL,88H
( INC WORD PTR 0[BP]
INC WORD PTR 88H[BP]
INC WORD PTR 6666H[BP]
INC WORD PTR [BP+DI]
INC WORD PTR 88H[BP+DI]
INC WORD PTR 6666H[BP+DI]
INC WORD PTR [BP+SI]
INC WORD PTR 88H[BP+SI]
INC WORD PTR 6666H[BP+SI]
INC WORD PTR [BX]
INC WORD PTR 88H[BX]
INC WORD PTR 6666H[BX]
INC WORD PTR [BX+DI]
INC WORD PTR 88H[BX+DI]
INC WORD PTR 6666H[BX+DI]
INC WORD PTR [BX+SI]
INC WORD PTR 88H[BX+SI]
INC WORD PTR 6666H[BX+SI]
INC WORD PTR [DI]
INC WORD PTR 88H[DI]
INC WORD PTR 6666H[DI]
INC WORD PTR [BP+DI]
INC WORD PTR 88H[BP+DI]
INC WORD PTR 6666H[BP+DI]
INC WORD PTR [BX+DI]
INC WORD PTR 88H[BX+DI]
INC WORD PTR 6666H[BX+DI]
INC WORD PTR [SI]
INC WORD PTR 88H[SI]
INC WORD PTR 6666H[SI]
INC WORD PTR [BP+SI]
INC WORD PTR 88H[BP+SI]
INC WORD PTR 6666H[BP+SI]
INC WORD PTR [BX+SI]
INC WORD PTR 88H[BX+SI]
INC WORD PTR 6666H[BX+SI] )
;
dd fred3
( dds )
dd fred4
dd frd1
dd frd2
frd2